package site.zhouinfo.designpatterns.factory.multiplefactory;

import site.zhouinfo.designpatterns.factory.common.MailSender;
import site.zhouinfo.designpatterns.factory.common.Sender;
import site.zhouinfo.designpatterns.factory.common.SmsSender;

/**
 * 多个工厂方法模式 工厂类
 *
 * @author zhou
 * @create 2017-06-21 17:12
 * @email zhouinfo@qq.com
 * @blog blog.zhouinfo.site
 */
public class MultipleSendFactory {

    public Sender produceMail(){
        return new MailSender();
    }

    public Sender produceSms(){
        return new SmsSender();
    }
}
